<?php
/**
 *  view: register
 *  file: register.php
 */

?>
 <div id="f_main">
 	<div class="f_container">
    <form name="reg-form" id="full-reg-form" method="post"  >  
    <div class="reg-form">
    
    <h3><?php echo lang('sign_up_for_free'); ?>!</h3>
    <table width="480" border="0" cellspacing="7" cellpadding="0">
  
  <tr>
    <td align="right"><?php echo lang('e-mail'); ?>:</td>
    <td width="300"><input name="user[email]" id="reg_email" type="text" value='<?php echo $user['email']; ?>' ></td>
  </tr>
  <tr>
    <td align="right"><?php echo lang('full_username'); ?>:</td>
    <td width="300"><input name="user[username]" id="reg_username" type="text" value='<?php echo $user['username']; ?>'></td>
  </tr>
  <tr>
    <td align="right"><?php echo lang('password'); ?>:</td>
    <td width="300"><input name="user[password]" id="password1" type="password"></td>
  </tr>
  <tr>
    <td align="right"><?php echo lang('repeat_password'); ?>:</td>
    <td width="300"><input name="user[repeat_password]" type="password"></td>
  </tr>
  <tr>
    <td align="right"><?php echo lang('am'); ?>:</td>
    <td width="300"><input name="user[gender]" type="radio" value="male" <?php echo ("male"==$user['gender'])?"checked":""; echo (!isset($user['gender']))?"checked":""; ?> >
        <img src="<?php echo base_url(); ?>img/template/male.png" width="10" height="15" alt="<?php echo lang('male'); ?>" />
        <span><?php echo lang('male'); ?></span>
        <input name="user['gender']" type="radio" value="female" <?php echo ("female"==$user['gender'])?"checked":""; ?> >
        <img src="<?php echo base_url(); ?>img/template/female.png" width="14" height="14" alt="<?php echo lang('female'); ?>" />
        <span><?php echo lang('female'); ?></span></td>
  </tr>
  <tr>
    <td align="right"><?php echo lang('looking_for'); ?>:</td>
    <td width="300"><input name="user[look_for]" type="radio" value="male" <?php echo ("male"==$user['look_for'])?"checked":""; ?>>
      <img src="<?php echo base_url(); ?>img/template/male.png" width="10" height="15" alt="<?php echo lang('male'); ?>" />
        <span><?php echo lang('male'); ?></span>
        <input name="user[look_for]" type="radio" value="female" <?php echo ("female"==$user['look_for'])?"checked":""; echo (!isset($user['look_for']))?"checked":""; ?> >
        <img src="<?php echo base_url(); ?>img/template/female.png" width="14" height="14" alt="<?php echo lang('female'); ?>" />
        <span><?php echo lang('female'); ?></span>
        <input name="user[look_for]" type="radio" value="both" <?php echo ("both"==$user['look_for'])?"checked":""; ?> >
        <span><?php echo lang('both'); ?></span></td>
  </tr>
  <tr>
    <td align="right"><?php echo lang('your_birthday'); ?>:</td>
    <td width="300"><select name="user[birthdate][day]">
                <option value=""><?php echo lang('day'); ?></option>
                <option value="1" <?php echo ("1"==$user['birthdate']['day'])?"selected='selected'":""; ?> >01</option>
                <option value="2" <?php echo ("2"==$user['birthdate']['day'])?"selected='selected'":""; ?> >02</option>
                <option value="3" <?php echo ("3"==$user['birthdate']['day'])?"selected='selected'":""; ?> >03</option>
                <option value="4" <?php echo ("4"==$user['birthdate']['day'])?"selected='selected'":""; ?> >04</option>
                <option value="5" <?php echo ("5"==$user['birthdate']['day'])?"selected='selected'":""; ?> >05</option>
                <option value="6" <?php echo ("6"==$user['birthdate']['day'])?"selected='selected'":""; ?> >06</option>
                <option value="7" <?php echo ("7"==$user['birthdate']['day'])?"selected='selected'":""; ?> >07</option>
                <option value="8" <?php echo ("8"==$user['birthdate']['day'])?"selected='selected'":""; ?> >08</option>
                <option value="9" <?php echo ("9"==$user['birthdate']['day'])?"selected='selected'":""; ?> >09</option>
                <option value="10" <?php echo ("10"==$user['birthdate']['day'])?"selected='selected'":""; ?> >10</option>
                <option value="11" <?php echo ("11"==$user['birthdate']['day'])?"selected='selected'":""; ?> >11</option>
                <option value="12" <?php echo ("12"==$user['birthdate']['day'])?"selected='selected'":""; ?> >12</option>
                <option value="13" <?php echo ("13"==$user['birthdate']['day'])?"selected='selected'":""; ?> >13</option>
                <option value="14" <?php echo ("14"==$user['birthdate']['day'])?"selected='selected'":""; ?> >14</option>
                <option value="15" <?php echo ("15"==$user['birthdate']['day'])?"selected='selected'":""; ?> >15</option>
                <option value="16" <?php echo ("16"==$user['birthdate']['day'])?"selected='selected'":""; ?> >16</option>
                <option value="17" <?php echo ("17"==$user['birthdate']['day'])?"selected='selected'":""; ?> >17</option>
                <option value="18" <?php echo ("18"==$user['birthdate']['day'])?"selected='selected'":""; ?> >18</option>
                <option value="19" <?php echo ("19"==$user['birthdate']['day'])?"selected='selected'":""; ?> >19</option>
                <option value="20" <?php echo ("20"==$user['birthdate']['day'])?"selected='selected'":""; ?> >20</option>
                <option value="21" <?php echo ("21"==$user['birthdate']['day'])?"selected='selected'":""; ?> >21</option>
                <option value="22" <?php echo ("22"==$user['birthdate']['day'])?"selected='selected'":""; ?> >22</option>
                <option value="23" <?php echo ("23"==$user['birthdate']['day'])?"selected='selected'":""; ?> >23</option>
                <option value="24" <?php echo ("24"==$user['birthdate']['day'])?"selected='selected'":""; ?> >24</option>
                <option value="25" <?php echo ("25"==$user['birthdate']['day'])?"selected='selected'":""; ?> >25</option>
                <option value="26" <?php echo ("26"==$user['birthdate']['day'])?"selected='selected'":""; ?> >26</option>
                <option value="27" <?php echo ("27"==$user['birthdate']['day'])?"selected='selected'":""; ?> >27</option>
                <option value="28" <?php echo ("28"==$user['birthdate']['day'])?"selected='selected'":""; ?> >28</option>
                <option value="29" <?php echo ("29"==$user['birthdate']['day'])?"selected='selected'":""; ?> >29</option>
                <option value="30" <?php echo ("30"==$user['birthdate']['day'])?"selected='selected'":""; ?> >30</option>
                <option value="31" <?php echo ("31"==$user['birthdate']['day'])?"selected='selected'":""; ?> >31</option>
            </select>
            <select name="user[birthdate][month]">
                <option value=""><?php echo lang('month'); ?></option>
                <option value="1" <?php echo ("1"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('january'); ?></option>
                <option value="2" <?php echo ("2"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('february'); ?></option>
                <option value="3" <?php echo ("3"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('march'); ?></option>
                <option value="4" <?php echo ("4"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('april'); ?></option>
                <option value="5" <?php echo ("5"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('may'); ?></option>
                <option value="6" <?php echo ("6"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('june'); ?></option>
                <option value="7" <?php echo ("7"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('july'); ?></option>
                <option value="8" <?php echo ("8"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('august'); ?></option>
                <option value="9" <?php echo ("9"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('september'); ?></option>
                <option value="10" <?php echo ("10"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('october'); ?></option>
                <option value="11" <?php echo ("11"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('november'); ?></option>
                <option value="12" <?php echo ("12"==$user['birthdate']['month'])?"selected='selected'":""; ?> ><?php echo lang('december'); ?></option>
            </select>
            <input class="reg-year" name="user[birthdate][year]" type="text" min="1900" maxlength="4" placeholder="<?php echo lang('year'); ?>" value='<?php echo $user['birthdate']['year']; ?>' ></td>
  </tr>
  
  <tr>
    <td align="right"><?php echo lang('postal_code'); ?>:</td>
    <td width="300"><input name="user[zip_code]" type="text" ></td>
  </tr>
  <tr>
    <td align="right" valign='top' ><?php echo lang('flirtyy_text'); ?>:</td>
    <td width="300"><textarea name="user[flirt_text]" cols="" rows=""></textarea></td>
  </tr>
  <tr>
    <td colspan="2" align="left">
      <p>
        <?php echo lang('submit_to_agree'); ?> <a href="<?php echo base_url();?>agb.htm"><?php echo lang('terms_and_conditions'); ?></a> 
        <input type="checkbox" name="submit_agree" id="submit_agree" />
      </p>      
      
      <input name="" type="submit" id="register_submit" value="<?php echo lang('submit'); ?>">
      <div id="response"></div>
    </td>
    </tr>
</table>

</div><!--End reg-form-->
 </form>
<div class="clr"></div>
<div class="home-search">
    	<div class="home-search-resize">
 			<p>www.datyy.de - <?php echo lang('home_text_1'); ?></p>
            <div class="search">
            	<input name="" type="text" placeholder="<?php echo lang('search'); ?>...">
                <input name="" type="button" value="<?php echo lang('search'); ?>">
            </div><!--end search-->
        </div><!--end home-search-resize-->
 </div><!--end home-search-->
    </div><!--end f_container-->
 </div><!--end f_main-->

 